/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <iostream>

using namespace std;

int main_12()
{
    int a,b,c;
    cin>>a>>b>>c;
    //assume c is greater than b
    if (c<=b)
    {
        swap(b,c);
    }
    if (c<=a)
    {
        swap(a,c);
    }
    //assume b is greater than a
    if (a>=b)
    {
        swap(a,b);
    }
    printf("%d %d %d\n",a,b,c);
	return 0;
}
